org.eclipse.vtp.desktop.editors.core.elements
Class ApplicationFragmentElement

java.lang.Object
  extended by org.eclipse.vtp.desktop.model.core.Component
      extended by org.eclipse.vtp.desktop.model.core.Element
          extended by org.eclipse.vtp.desktop.editors.core.elements.ApplicationFragmentElement

public class ApplicationFragmentElement
extends Element


Nested Class Summary
 class ApplicationFragmentElement.OutputMapping
           
 
Field Summary
 
Fields inherited from class org.eclipse.vtp.desktop.model.core.Element
PROP_NAME
 
Constructor Summary
ApplicationFragmentElement(java.lang.String name)
           
ApplicationFragmentElement(java.lang.String id, java.lang.String name)
           
 
Method Summary
 boolean acceptConnector(Element origin)
           
 java.util.List getConfigurationPanels()
           
 ConnectorRecord getConnectorRecord(java.lang.String recordName)
           
 java.util.List getConnectorRecords()
           
 java.util.List getConnectorRecords(int type)
           
 java.lang.String getFragmentId()
           
 RenderedModel getFragmentModel()
           
 org.eclipse.swt.graphics.Image getIcon()
           
 java.lang.String getTypeName()
           
 java.util.List getVariableMappings()
           
 boolean hasConnectors()
           
 void readConfiguration(org.w3c.dom.Element configuration)
           
 void resolve(ElementResolutionVisitor resolutionVisitor)
           
 void setFragmentId(java.lang.String fragmentId)
           
 void setFragmentModel(RenderedModel dialogModel)
           
 void setOutputMappings(java.util.Map<java.lang.String,java.util.List<ApplicationFragmentElement.OutputMapping>> maps)
           
 void setVariableMappings(java.util.List variableMappings)
           
 void writeConfiguration(org.w3c.dom.Element configuration)
           
 
Methods inherited from class org.eclipse.vtp.desktop.model.core.Element
addConfigurationManager, addIncomingConnector, commitConfigurationChanges, getConfigurationManager, getIncomingConnectors, getIncomingVariables, getIncomingVariables, getName, getOutgoingVariables, getOutgoingVariables, hasErrors, hasPathToStart, hasTodo, hasWarnings, listConfigurationManagers, removeIncomingConnector, resolve, rollbackConfigurationChanges, setName, setScope, validateStatus
 
Methods inherited from class org.eclipse.vtp.desktop.model.core.Component
addListener, addPropertyListener, delete, fireChange, fireDelete, firePropertyChange, getId, getModel, removeListener, removePropertyListener, setId, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationFragmentElement

public ApplicationFragmentElement(java.lang.String name)

ApplicationFragmentElement

public ApplicationFragmentElement(java.lang.String id,
                                  java.lang.String name)
Method Detail

setFragmentId

public void setFragmentId(java.lang.String fragmentId)

getFragmentId

public java.lang.String getFragmentId()

setFragmentModel

public void setFragmentModel(RenderedModel dialogModel)

getFragmentModel

public RenderedModel getFragmentModel()

getConnectorRecord

public ConnectorRecord getConnectorRecord(java.lang.String recordName)
Specified by:
getConnectorRecord in class Element

getConnectorRecords

public java.util.List getConnectorRecords()
Specified by:
getConnectorRecords in class Element

getConnectorRecords

public java.util.List getConnectorRecords(int type)
Specified by:
getConnectorRecords in class Element

readConfiguration

public void readConfiguration(org.w3c.dom.Element configuration)
Specified by:
readConfiguration in class Element

writeConfiguration

public void writeConfiguration(org.w3c.dom.Element configuration)
Specified by:
writeConfiguration in class Element

acceptConnector

public boolean acceptConnector(Element origin)
Specified by:
acceptConnector in class Element

getConfigurationPanels

public java.util.List getConfigurationPanels()
Specified by:
getConfigurationPanels in class Element

getTypeName

public java.lang.String getTypeName()
Specified by:
getTypeName in class Element

getIcon

public org.eclipse.swt.graphics.Image getIcon()
Specified by:
getIcon in class Element

resolve

public void resolve(ElementResolutionVisitor resolutionVisitor)

setOutputMappings

public void setOutputMappings(java.util.Map<java.lang.String,java.util.List<ApplicationFragmentElement.OutputMapping>> maps)

getVariableMappings

public java.util.List getVariableMappings()

setVariableMappings

public void setVariableMappings(java.util.List variableMappings)

hasConnectors

public boolean hasConnectors()
Specified by:
hasConnectors in class Element